package com.example.carapi.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data // getters and setters
@AllArgsConstructor // 全参构造
@NoArgsConstructor // 无参构造
public class CarBrand {
    Long id;
    String name;
    String logo;

    public CarBrand(String name, String logo) {
        this.name = name;
        this.logo = logo;
    }
}
